Skip to content

Conversation

jakepetroules
Copy link
Contributor

These were originally added 6 years ago in #475 to "Disable incremental linking so llbuild.ilk's don't conflict" because at the time the command line tool and library targets were given the same OUTPUT_NAME, which conflicted. In #1005 these targets were given distinct names, so the workaround should no longer be necessary.

This helps unblock swiftlang/swift-build#757 because this flag is currently added without regard for the specific compiler driver in use, so the flag might not work based on whether clang-cl.exe or cl.exe vs clang.exe (where it would require a -Xlinker prefix), is used.

…n Windows

These were originally added 6 years ago in swiftlang#475 to "Disable incremental linking so llbuild.ilk's don't conflict" because at the time the command line tool and library targets were given the same OUTPUT_NAME, which conflicted. In swiftlang#1005 these targets were given distinct names, so the workaround should no longer be necessary.

This helps unblock swiftlang/swift-build#757 because this flag is currently added without regard for the specific compiler driver in use, so the flag might not work based on whether clang-cl.exe or cl.exe vs clang.exe (where it would require a -Xlinker prefix), is used.
@jakepetroules
Copy link
Contributor Author

@swift-ci test

Copy link
Member

@compnerd compnerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only removes the /INCREMENTAL:NO on the C++ portions which is perfectly reasonable.

@jakepetroules
Copy link
Contributor Author

@swift-ci smoke test macOS

@jakepetroules
Copy link
Contributor Author

@swift-ci smoke test Linux

@jakepetroules jakepetroules enabled auto-merge (rebase) August 31, 2025 20:39
@jakepetroules jakepetroules merged commit 2600936 into swiftlang:main Sep 2, 2025
6 checks passed
@jakepetroules jakepetroules deleted the eng/PR-remove-incremental-flag branch September 2, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants